/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DialogCreateSprite.java
 *
 * Created on Apr 4, 2009, 7:43:13 PM
 */

package test;

import java.awt.Dimension;
import javax.swing.ButtonGroup;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JRadioButton;
import javax.swing.JTextField;
import org.netbeans.lib.awtextra.AbsoluteConstraints;
import org.netbeans.lib.awtextra.AbsoluteLayout;

/**
 *
 * @author Naruto
 */
public class DialogCreateSpriteSample extends javax.swing.JPanel {

    /** Creates new form DialogCreateSprite */
    public DialogCreateSpriteSample() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        buttonGroup1 = new ButtonGroup();
        jLabelCreateSprite = new JLabel();
        jLabelName = new JLabel();
        jLabelType = new JLabel();
        jRadioButtonCharacter = new JRadioButton();
        jRadioButtonOther = new JRadioButton();
        jTextField1 = new JTextField();
        OK = new JButton();
        Cancel = new JButton();

        setLayout(new AbsoluteLayout());

        jLabelCreateSprite.setText("Create Sprite...");
        add(jLabelCreateSprite, new AbsoluteConstraints(10, 10, -1, -1));

        jLabelName.setText("Name:");
        add(jLabelName, new AbsoluteConstraints(20, 60, -1, -1));

        jLabelType.setText("Type:");
        add(jLabelType, new AbsoluteConstraints(20, 100, -1, -1));

        buttonGroup1.add(jRadioButtonCharacter);
        jRadioButtonCharacter.setText("Character");
        add(jRadioButtonCharacter, new AbsoluteConstraints(70, 100, -1, -1));

        buttonGroup1.add(jRadioButtonOther);
        jRadioButtonOther.setText("Other");
        add(jRadioButtonOther, new AbsoluteConstraints(70, 120, -1, -1));
        add(jTextField1, new AbsoluteConstraints(70, 60, 220, -1));

        OK.setText("OK");
        OK.setPreferredSize(new Dimension(65, 23));
        add(OK, new AbsoluteConstraints(140, 180, -1, -1));

        Cancel.setText("Cancel");
        add(Cancel, new AbsoluteConstraints(220, 180, -1, -1));
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private JButton Cancel;
    private JButton OK;
    private ButtonGroup buttonGroup1;
    private JLabel jLabelCreateSprite;
    private JLabel jLabelName;
    private JLabel jLabelType;
    private JRadioButton jRadioButtonCharacter;
    private JRadioButton jRadioButtonOther;
    private JTextField jTextField1;
    // End of variables declaration//GEN-END:variables

}
